package se.webbzon.boltzmann.loader;

import java.net.URL;

import se.webbzon.oschi01.friendly.Friendly;

public class LoaderUtilityPointer {
	
	// The URL to the root and to the XML file
	private final URL rootURL, xmlURL;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new loader utility pointer which gives the
	 * location of a XML resource. **/
	@Friendly LoaderUtilityPointer(URL rootURL, URL xmlURL) {
		this.rootURL = rootURL;
		this.xmlURL = xmlURL;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the URL to the root of the resource tree structure. **/
	public URL getRootURL() {
		return rootURL;
	}
	
	/** Returns the URL to the XML resource in the resource tree structure. **/
	public URL getXMLURL() {
		return xmlURL;
	}

}
